﻿<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="java.util.*" %>
<%@ page import="com.burry.util.MapList" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Bary</title>
<link rel="stylesheet" type="text/css" id="css" href="Resource/css/main.css">


<link rel="stylesheet" type="text/css" href="Resource/yui/build/fonts/fonts-min.css" />
<link rel="stylesheet" type="text/css" href="Resource/yui/build/datatable/assets/skins/sam/datatable.css" />
<script type="text/javascript" src="Resource/yui/build/yahoo-dom-event/yahoo-dom-event.js"></script>
<script type="text/javascript" src="Resource/yui/build/connection/connection-min.js"></script>
<script type="text/javascript" src="Resource/yui/build/json/json-min.js"></script>
<script type="text/javascript" src="Resource/yui/build/paginator/paginator.js"></script>
<script type="text/javascript" src="Resource/yui/build/element/element-min.js"></script>
<script type="text/javascript" src="Resource/yui/build/datasource/datasource-min.js"></script>
<script type="text/javascript" src="Resource/yui/build/datatable/datatable-min.js"></script>
<script type="text/javascript" src="Resource/yui/build/utilities/utilities.js"></script>

<script type="text/javascript" src="../resource/js/global.js"></script>


<body id="yahoo-com" class=" yui-skin-sam">
	<div id="framed">
  	<h2>全局折扣</h2>
  </div>
  
  <div>
		<div>请选择折扣类型</div>
		
		<div>
			<select size="1" id="select" name="type">
			<option value="1">比例</option>
			<option value="2">金额</option>
			</select>	
			
		</div>
		<div>数额</div>
		<div><input type="num" name="" /></div>
		<div><input type="button" value="保存" onclick="nextStep()" /></div>
		
		
		<script language="javascript">
			function nextStep(){
				var type = $('select').value ;
				if("1" == type){
					location = "addModel_global.jsp";
				}else{
					location = "addModel_catalog.jsp";
				}
			}	
		</script>
  </div>
</body>
</html>